﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Domain
{
    /// <summary>
    /// 审批流程主表
    /// </summary>
    [SugarTable("ProcessNodes", TableDescription = "流程节点表")]
    public class ProcessNodes
    {
        /// <summary>
        /// 审批流程主表编码
        /// </summary>
        [SugarColumn( IsPrimaryKey = true, ColumnDescription = "审批流程主表编码")]
        public string ProcessNodesId { get; set; }

        /// <summary>
        /// 审批流程名称
        /// </summary>
        [SugarColumn(ColumnDescription = "审批流程名称")]
        public string ProcessNodesName { get; set; }

        /// <summary>
        /// 流程所属分类
        /// </summary>
        [SugarColumn(ColumnDescription = "流程所属分类")]
        public string ProcessNodesType { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnDescription = "创建人")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        [SugarColumn(ColumnDescription = "删除")]
        public bool IsDelelte { get; set; } = false;

        /// <summary>
        /// 停用
        /// </summary>
        [SugarColumn(ColumnDescription = "停用")]
        public bool IsEnable { get; set; } = true;

    }
}
